// pages/xianzhuyemian/xianzhuyemian.js
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  zupeidenglu() {

    wx.navigateTo({
      url: '../../pages/xianyouzhengzupeiyonghulong/xianyouzhengzupeiyonghulong',

    })
  },


  longtaitou() {

    wx.navigateTo({
      // url: '../../pages/volume/volume',
      url: '../../pages/xianlongtaitou/xianlongtaitou',
    })
  },



  // 千元
  youzenbaiwan: function () {

    wx.navigateTo({
      // url: '../../pages/volume/volume',
      url: '../../pages/qianyuantiaozhuan/qianyuantiaozhuan',
    })
  },




  
  //升金有礼
  shenjinyou() {
    wx.navigateTo({
      url: '../../pages/gedishishengjingdeng/gedishishengjingdeng',
      // url: '../../pages/shengjinyoulideng/shengjinyoulideng',
    })
  },



  //商户新拓

  shanghuxintuo() {
    wx.navigateTo({
      url: '../../pages/shangshengjinquanyideng/shangshengjinquanyideng',
      // url: '../../pages/shanghuxintuodenglu/shanghuxintuodenglu',
    })
  },



  xingkeyouliaaa(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianxinkeyouli/xianxinkeyouli',
    })
  },


  xingkeyouli(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianzhuanchangchoujiang/xianzhuanchangchoujiang',
    })
  },





  // 会员日
  // xingjihui(e){
  //   console.log(e.currentTarget.dataset.index);
  //   wx.navigateTo({
  //     url: '../xianwangdiangongzhonghao/xianwangdiangongzhonghao?data=' + e.currentTarget.dataset.index,
  //   })
  // },


  xingjihui() {
    wx.navigateToMiniProgram({
      shortLink: '#小程序://邮生活/hd4ttsDVkDJya1m',
      //develop开发版；trial体验版；release正式版
      envVersion: 'release',
      success(res) {
        // 打开成功
        console.log("跳转小程序成功！", res);
      }
    })
  },


  // 立减
  xingjilijian(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianwangdiangongzhonghao/xianwangdiangongzhonghao?data=' + e.currentTarget.dataset.index,
    })
  },

  // 签到有礼
  qiandaoyouli(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianwangdiangongzhonghao/xianwangdiangongzhonghao?data=' + e.currentTarget.dataset.index,
    })
  },
  // 绑卡
  bangkahuodong(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianwangdiangongzhonghao/xianwangdiangongzhonghao?data=' + e.currentTarget.dataset.index,
    })
  },


  // 新客1

  xingkeyi(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianwangdiangongzhonghao/xianwangdiangongzhonghao?data=' + e.currentTarget.dataset.index,
    })
  },

  // 新客2

  xingkeer(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianwangdiangongzhonghao/xianwangdiangongzhonghao?data=' + e.currentTarget.dataset.index,
    })
  },
  // 新客3
  xingkesan(e) {
    console.log(e.currentTarget.dataset.index);
    wx.navigateTo({
      url: '../xianwangdiangongzhonghao/xianwangdiangongzhonghao?data=' + e.currentTarget.dataset.index,
    })
  },



  // 68有礼
  liubahoali() {
    wx.navigateTo({
      url: '../../pages/xianliubayouli/xianliubayouli',
    })
  },



  back() {
    wx.switchTab({
      url: '../../pages/newshouye/newshouye',
    })
  },





  //出行
  lechuxin() {
    wx.navigateTo({
      url: '../lechuxin/lechuxin',
    })
  },



  //生日登录

  shengrideng() {
    wx.navigateTo({
      url: '../../pages/shengrizhuanshudenglu/shengrizhuanshudenglu',
    })
  },


  // 邮政网点

  wangdianyou() {
    wx.navigateTo({
      url: '../../pages/xianwangdian/xianwangdian',
    })
  },











  youxiaodian() {
    wx.navigateToMiniProgram({
      shortLink: '#小程序://邮乐网/yscI9BzhpAjO0Wa',
      //develop开发版；trial体验版；release正式版
      envVersion: 'release',
      success(res) {
        // 打开成功
        console.log("跳转小程序成功！", res);
      }
    })
  },


  // 跳转视频号

  tiao() {
    // //跳转指定视频
    // wx.openChannelsActivity({
    //   finderUserName: 'sphMpUDGzQ8hUJA', // 视频号的原始ID，替换为自己的
    //   feedId: 'export/UzFfAgtgekIEAQAAAAAAhDs6ep6kuQAAAAstQy6ubaLX4KHWvLEZgBPE96NEPFMRM66EzNPgMJpbG2BX2dtYU_VhrTdso_5H', // 视频号的视频ID，替换为自己的
    //   success(res) {
    //     console.log('拉起视频号成功', res);
    //   },
    //   fail(res) {
    //     console.log('拉起视频号失败', res);
    //   }
    // })
    // return
    //跳转主页
    // wx.openChannelsUserProfile({
    //   finderUserName: "sphKaJQpQu6XnsF", // 视频号的原始ID，替换为自己的
    // });

    wx.navigateTo({
      url: '../../pages/xianyouhuilaixisancan/xianyouhuilaixisancan',
    })
  },


  xingji() {

    wx.navigateTo({
      url: '/pages/xingjishenri/xingjishenri',

    })
  },









  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})